Take a train from Montreux on the GoldenPass Montreux-Bernese Oberland MOB Railway. Fares range from CHF 8.80 to CHF 58.40.
While not directly accessible by a motorway, driving into Château d'Oex is not difficult.